from django.conf import settings
if settings.DEBUG:
    DINGTALK_CORP_ID = 'ding63d4252dafd28258a39a90f97fcb1e09'  # 钉钉企业CorpId
    DINGTALK_APP_KEY = 'dingixtb7levxojstbvv'  # 钉钉企业内部应用的AppKey
    DINGTALK_APP_SECRET = 'w81AEdA7gLErsSwkPv3ctaLIeUIFgjgu8hxXK1PdtzkgV3A_XgnTliRDP5y68RVc'  # 钉钉企业内部应用的AppSecret
    DINGTALK_BASE_URL = "https://aflow.dingtalk.com/dingtalk/mobile/homepage.htm"
    AgentId = 326000000
    DINGTALK_BASE_URL = 'http://pmtest.vaiwan.com/'

    DING_LOGIN_APP_ID = 'xxxxxx'  # 扫码登录APP_ID  注册流程 钉钉开发者平台>移动接入应用>登录>创建扫码登录授权
    DING_LOGIN_APP_SECRET = 'xxxxxx'  # 扫码登录APP_SECRET
    STATE_VAL = "xxxxxx"   # 扫码登录时需要传递一个随机数

    encodingAesKey = "naauhbiFb9qqawsx3cR7g6cb6h23D8kfmXp447zg9oD"  # 长度固定为43个字符，从a-z, A-Z, 0-9共62个字符中选取
    token = "xxxxxx"  # token推荐使用注册套件时填写的token，普通企业可以随机填写
    callback_bpm_url = "http://xxxxxx.com/api/call_back/"
else:
    DINGTALK_CORP_ID = 'ding63d4252dafd28258a39a90f97fcb1e09'  # 钉钉企业CorpId
    DINGTALK_APP_KEY = 'dingixtb7levxojstbvv'  # 钉钉企业内部应用的AppKey
    DINGTALK_APP_SECRET = 'w81AEdA7gLErsSwkPv3ctaLIeUIFgjgu8hxXK1PdtzkgV3A_XgnTliRDP5y68RVc'  # 钉钉企业内部应用的AppSecret
    DINGTALK_BASE_URL = "https://aflow.dingtalk.com/dingtalk/mobile/homepage.htm"
    AgentId = 766528605
    DINGTALK_BASE_URL = 'https://6zlaw.com/'

    DING_LOGIN_APP_ID = 'dingixtb7levxojstbvv'  # 扫码登录APP_ID  注册流程 钉钉开发者平台>移动接入应用>登录>创建扫码登录授权
    DING_LOGIN_APP_SECRET = 'w81AEdA7gLErsSwkPv3ctaLIeUIFgjgu8hxXK1PdtzkgV3A_XgnTliRDP5y68RVc'  # 扫码登录APP_SECRET
    STATE_VAL = "293802980"  # 扫码登录时需要传递一个随机数

    encodingAesKey = "naauhbiFb9qqawsx3cR7g6cb6h23D8kfmXp447zg9oD"  # 长度固定为43个字符，从a-z, A-Z, 0-9共62个字符中选取
    token = "na$uh_i&b9qqawsx3c$7g6cb6c23*8nfm%p447zg9"  # token推荐使用注册套件时填写的token，普通企业可以随机填写
    callback_bpm_url = "https://6zlaw.com/api/call_back/"
